<div id="sidebar" class="sidebar responsive sidebar-fixed">
                <script type="text/javascript">
                    try{ace.settings.check('sidebar' , 'fixed')}catch(e){}
                </script>

                

                <ul class="nav nav-list">
                    <li class="{if condition="$C_NAME eq 'Index'"}active{/if}">
                        <a href="{:url('index/main')}">
                            <i class="menu-icon fa fa-tachometer"></i>
                            <span class="menu-text"> 首页</span>
                        </a>

                        <b class="arrow"></b>
                    </li>
                    <li class="{if condition="$C_NAME eq 'Apps'"}active{/if}">
                        <a href="#" class="dropdown-toggle">
                            <i class="menu-icon fa fa-list"></i>
                            <span class="menu-text"> 公众号管理 </span>

                            <b class="arrow fa fa-angle-down"></b>
                        </a>

                        <b class="arrow"></b>
                        <ul class="submenu">
                            <li class="{if condition="$A_NAME eq 'lists'"}active{/if}">
                                <a href="{:url('apps/lists')}">
                                    <i class="menu-icon fa fa-caret-right"></i>
                                    公众号列表
                                </a>
                                <b class="arrow"></b>
                            </li>
                            <li class="{if condition="$A_NAME eq 'step_01'"}active{/if}">
                                <a href="{:url('apps/step_01?action=add')}">
                                    <i class="menu-icon fa fa-caret-right"></i>
                                    添加公众号
                                </a>
                                <b class="arrow"></b>
                            </li>

                        </ul>
                    </li>
                    <li  class="{if condition="$C_NAME eq 'WechatFunction'"}active{/if}">
                        <a href="#" class="dropdown-toggle">
                            <i class="menu-icon fa fa-desktop"></i>
                            <span class="menu-text"> 公众号功能 </span>

                            <b class="arrow fa fa-angle-down"></b>
                        </a>

                        <b class="arrow"></b>

                        <ul class="submenu">
	                        <li   class="{if condition="$C_NAME eq 'WechatFunction'"}active{/if}">
	                                <a href="{:url('welcome/config')}">
	                                    <i class="menu-icon fa fa-caret-right"></i>
	                                    欢迎语设置
	                                </a>
	                                <b class="arrow"></b>
	                        </li>
                            <li class="">
                                <a href="typography.html">
                                    <i class="menu-icon fa fa-caret-right"></i>
                                    未识别回复
                                </a>
                                <b class="arrow"></b>
                            </li>
                            <li class="">
                                <a href="typography.html">
                                    <i class="menu-icon fa fa-caret-right"></i>
                                    自动回复
                                </a>
                                <b class="arrow"></b>
                            </li>
                            <li class="">
                                <a href="typography.html">
                                    <i class="menu-icon fa fa-caret-right"></i>
                                    欢迎语设置
                                </a>
                                <b class="arrow"></b>
                            </li>
                            <li class="">
                                <a href="#" class="dropdown-toggle">
                                    <i class="menu-icon fa fa-caret-right"></i>
                                    自动回复
                                    <b class="arrow fa fa-angle-down"></b>
                                </a>

                                <b class="arrow"></b>

                                <ul class="submenu">
                                    <li class="">
                                        <a href="top-menu.html">
                                            <i class="menu-icon fa fa-caret-right"></i>
                                            文本消息
                                        </a>
                                        <b class="arrow"></b>
                                    </li>
                                    <li class="">
                                        <a href="mobile-menu-1.html">
                                            <i class="menu-icon fa fa-caret-right"></i>
                                            图文消息
                                        </a>
                                        <b class="arrow"></b>
                                    </li>
                                    <li class="">
                                        <a href="mobile-menu-1.html">
                                            <i class="menu-icon fa fa-caret-right"></i>
                                            图片消息
                                        </a>
                                        <b class="arrow"></b>
                                    </li>
                                    <li class="">
                                        <a href="mobile-menu-1.html">
                                            <i class="menu-icon fa fa-caret-right"></i>
                                            语音消息
                                        </a>
                                        <b class="arrow"></b>
                                    </li>
                                    <li class="">
                                        <a href="mobile-menu-1.html">
                                            <i class="menu-icon fa fa-caret-right"></i>
                                            视频消息
                                        </a>
                                        <b class="arrow"></b>
                                    </li>
                                </ul>
                            </li>
                            <li class="">
                                <a href="#" class="dropdown-toggle">
                                    <i class="menu-icon fa fa-caret-right"></i>
                                    自定义菜单
                                    <b class="arrow fa fa-angle-down"></b>
                                </a>

                                <b class="arrow"></b>

                                <ul class="submenu">
                                    <li class="">
                                        <a href="top-menu.html">
                                            <i class="menu-icon fa fa-caret-right"></i>
                                            默认菜单
                                        </a>
                                        <b class="arrow"></b>
                                    </li>
                                    <li class="">
                                        <a href="mobile-menu-1.html">
                                            <i class="menu-icon fa fa-caret-right"></i>
                                            个性化菜单
                                        </a>
                                        <b class="arrow"></b>
                                    </li>
                                </ul>
                            </li>
                            <li class="">
                                <a href="#" class="dropdown-toggle">
                                    <i class="menu-icon fa fa-caret-right"></i>
                                  群发消息
                                    <b class="arrow fa fa-angle-down"></b>
                                </a>

                                <b class="arrow"></b>

                                <ul class="submenu">
                                    <li class="">
                                        <a href="#">
                                            <i class="menu-icon fa fa-leaf"></i>
                                            高级群发
                                        </a>

                                        <b class="arrow"></b>
                                    </li>

                                    <li class="">
                                        <a href="#" class="dropdown-toggle">
                                            <i class="menu-icon fa fa-pencil"></i>
                                           客服群发
                                            <b class="arrow fa fa-angle-down"></b>
                                        </a>

                                        <b class="arrow"></b>

                                        <ul class="submenu">
                                            <li class="">
                                                <a href="#">
                                                    <i class="menu-icon fa fa-plus"></i>
                                                    三级项目1
                                                </a>

                                                <b class="arrow"></b>
                                            </li>

                                            <li class="">
                                                <a href="#">
                                                    <i class="menu-icon fa fa-eye"></i>
                                                    三级项目2
                                                </a>

                                                <b class="arrow"></b>
                                            </li>
                                        </ul>
                                    </li>
                                </ul>
                            </li>
                        </ul>
                    </li>

                    <li  class="{eq name="$C_NAME" value="Material"}active{/eq}">
                        <a href="#" class="dropdown-toggle">
                            <i class="menu-icon fa fa-folder"></i>
                            <span class="menu-text"> 素材管理 </span>

                            <b class="arrow fa fa-angle-down"></b>
                        </a>

                        <b class="arrow"></b>
                        <ul class="submenu">
                            <li class="{eq name="$A_NAME" value="material_lists"}active{/eq}">
                                <a href="{:url('material/material_lists')}">
                                    <i class="menu-icon fa fa-caret-right"></i>
                                   图文素材
                                </a>
                                <b class="arrow"></b>
                            </li>
                            <li class="{if condition="$A_NAME eq 'picture_lists'"}active{/if}">
                                <a href="{:url('material/picture_lists')}">
                                    <i class="menu-icon fa fa-caret-right"></i>
                                    图片素材
                                </a>
                                <b class="arrow"></b>
                            </li>
                            <li class="{if condition="$A_NAME eq 'text_lists' or $A_NAME eq 'text_edit'"}active{/if}">
                                <a href="{:url('material/text_lists')}">
                                    <i class="menu-icon fa fa-caret-right"></i>
                                    文本素材
                                </a>
                                <b class="arrow"></b>
                            </li>
                        </ul>
                    </li>

                 

                  

                    
                </ul><!-- /.nav-list -->

                <div class="sidebar-toggle sidebar-collapse" id="sidebar-collapse">
                    <i class="ace-icon fa fa-angle-double-left" data-icon1="ace-icon fa fa-angle-double-left" data-icon2="ace-icon fa fa-angle-double-right"></i>
                </div>

                <script type="text/javascript">
                    try{ace.settings.check('sidebar' , 'collapsed')}catch(e){}
                </script>
            </div>
